package com.example.badyloans.dao;

import com.example.badyloans.pojo.TLoginLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TLoginLogMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(TLoginLog record);

    TLoginLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TLoginLog record);

    int selectBy(@Param("accountType") String accountType,@Param("username") String username,@Param("loginResult") String loginResult,@Param("beginDate") String beginDate,@Param("endDate") String endDate);

   List<TLoginLog> selecttrecharge(@Param("accountType") String accountType,@Param("username") String username,@Param("currentPageNo") int currentPageNo,
                                   @Param("pageSize") int pageSize,@Param("beginDate") String beginDate,@Param("endDate") String endDate,@Param("loginResult") String loginResult);
}